package com.linko.intelligent.sys.core.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.linko.intelligent.base.UserInfo;
import com.linko.intelligent.sys.pojo.po.Notice;
import com.linko.intelligent.sys.pojo.query.NoticeQuery;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Author yuan
 * @create 2023/12/6 16:39
 */
@Mapper
@Repository
public interface NoticeMapper extends BaseMapper<Notice> {

    List<Notice> selectLs(@Param("query") NoticeQuery query, @Param("user") UserInfo user);
}
